package creationpattern.builderpattern;

public class MealBuilderPatternDemo {

	public static void main1(String[] args) {
		MealBuilder builder = new MealBuilder();
		Meal vegMeal = builder.prepareVegMeal();
		vegMeal.showMessage();
		System.out.println("Total cost: " + vegMeal.getCost());
		System.out.println();
		
		Meal nonVegMeal = builder.prepareNonVegMeal();
		nonVegMeal.showMessage();
		System.out.println("Total cost: " + nonVegMeal.getCost());
	}

}
